Home:ALL Converter>MYSQL CONCAT_WS and UNIX_TIMESTAMP

MYSQL CONCAT_WS and UNIX_TIMESTAMP

Ask Time:2014-04-14T03:40:32         Author:user3529768

Json Formatter

Hello I have date and time table:

date               time 
09-03-2014  06:17:15
09-03-2014  06:23:06
09-03-2014  06:28:57
09-03-2014  06:40:39

I will make this:

SELECT CONCAT_WS(' ',date,time) AS newtime FROM hive96
newtime
09-03-2014 06:17:15
09-03-2014 06:23:06
09-03-2014 06:28:57
09-03-2014 06:40:39

than later I type this code:

SELECT unix_timestamp('2008-06-19 16:25:15'); <==newtime

I want to collect two query. I want newtime put in unix timestamp query.

Thank you

Author:user3529768,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/23047533/mysql-concat-ws-and-unix-timestamp
yy